<script>
	export default {
		onLaunch: function() {
			
			console.log('App Launch')
			
		},
		onShow: function() {
			// if(!uni.getStorageSync('sjtoken')){
			// 	uni.reLaunch({
			// 		url:'/pages/login/login'
			// 	})
			// }
			// #ifdef MP-WEIXIN
			uni.setStorageSync('statusBarHeight',(uni.getWindowInfo().statusBarHeight+44)+'px')
			// #endif
			// #ifndef MP-WEIXIN
			uni.setStorageSync('statusBarHeight',(uni.getSystemInfoSync().statusBarHeight+44)+'px')
			// #endif
			uni.getSystemInfo({
				success: function(res) {
					uni.setStorageSync('safeAreaInsets',res.safeAreaInsets)
				}
			});
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	.flex_b{
		display: flex;
		align-items: center;
	}
	.flex_sp {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	/*每个页面公共css */
	@font-face {
		font-family: 'DINB';
		src: url('/common/DIN-Bold.otf');
		font-weight: normal;
		font-style: normal;
	}
	@font-face {
		font-family: 'FINE';
		src: url('/common/DIN-REGULAR-2.OTF');
		font-weight: normal;
		font-style: normal;
	}
	.DINB {
		color: #CE7034;
		font-family: 'DINB';
		font-size: 40rpx;
		.ic {
			color: #CE7034;
			font-family: 'DINB';
			font-weight: bold;
			font-size: 24rpx;
		}
	}
	.FINE {
		color: #D1CDCD;
		font-family: 'FINE';
		text-decoration-line: line-through;
		text-transform: none;
		font-weight: 500;
		font-size: 24rpx;
	}
	
	
	
	
	.popuphx {
		width: 630rpx;
		background: #FFFFFF;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		padding: 42rpx 54rpx;
		box-sizing: border-box;
		// margin: 300rpx auto;
		.tit {
			font-family: PingFang SC, PingFang SC;
			font-weight: bold;
			font-size: 30rpx;
			color: #000000;
			text-align: center;
		}
	
		.cont {
			font-family: PingFang SC, PingFang SC;
			font-weight: 500;
			font-size: 28rpx;
			color: #000000;
			text-align: center;
			margin: 28rpx auto 32rpx;
		}
	
		.btnflex {
			border-radius: 8rpx 8rpx 8rpx 8rpx;
			font-family: PingFang SC, PingFang SC;
			font-weight: bold;
			font-size: 32rpx;
			display: flex;
			justify-content: space-between;
	
			.btn {
				width: 240rpx;
				height: 92rpx;
				text-align: center;
				line-height: 92rpx;
			}
	
			.b1 {
				border: 1px solid #D9D9D9;
				color: #D9D9D9;
			}
	
			.b2 {
				background: #000000;
				color: #FFFFFF;
			}
		}
	}
</style>
